<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Test</title>
    <!--<script src="fun.js"></script>-->
    <script>
    function time(){
        document.getElementById("one").innerHTML=Date();
    }
    function Freme() {
        confirm("nihao");
    }
    function Showtype() {
        var i = 15;
        var j = 15;
        var o=i+j;
        typeof o;
        document.getElementById("two").innerHTML=typeof o;
    }

    </script>
</head>
<body onload="Freme()">
<p id="one">time</p>
<button onclick="time()">Showtime</button>

<!--<p id="two">type</p>-->
<!--<button onclick="type()">Showtype1</button>-->

<p id="two">showtype</p>
<button onclick="Showtype()">Shoptype</button>
<!--<p id="three">type</p>-->
<!--<button onclick="type()">Showtype2</button>-->

</body>
</html>